package com.ruoyi.hr.service.salaryadmin.salaryopencorrection;


import com.ruoyi.hr.domain.Authority;
import com.ruoyi.hr.util.BaseResult;

import java.util.List;
import java.util.Map;

public interface SalaryOpenCorrectionService {
    /**
     * 获取所有数据
     * @param map
     * @param authorityList
     * @param isAdmin
     * @return
     */
    List<Map<String,Object>> findData(Map map, List<Authority> authorityList, int isAdmin);

    /**
     * 执行添加员工存储过程
     * @param allid
     * @return
     */
    BaseResult cstaffAdd2(String allid);

    /**
     * 获取所有历史数据
     * @param map
     * @param authorityList
     * @param isAdmin
     * @return
     */
    List<Map<String,Object>> findDataHistory(Map map,List<Authority> authorityList,int isAdmin);

    /**
     * 执行删除员工存储过程
     * @param allid
     * @return
     */
    BaseResult deleteEmp(String allid);

    BaseResult threeProcedure(String allId,String type);

    /**
     * 修改值
     */
    int updateSalary(Map map);

}
